<!---if no component is called then load default page or component--->
<cfif len(trim(c)) IS 0>
	<cfif request.site_startup IS 0>
        <cfif len(trim(request.site_startpage)) GT 0>
            <cfif fileexists('#request.basepath#docs/#request.site_startpage#')>
                <cfinclude template = "#request.absolutepath#docs/#request.site_startpage#">
            <cfelse>
               Page requested, <cfoutput>#request.site_startpage#</cfoutput>, is missing.
            </cfif>
        <cfelse>
            No start page has been specified in the settings.
        </cfif>
    <cfelse>
        <cfif len(trim(request.site_component)) GT 0>
            <cfif fileexists('#request.basepath#components/#request.site_component#/index.cfm')>
                <cfinclude template = "#request.absolutepath#components/#request.site_component#/index.cfm">
            <cfelse>
                 Component, <cfoutput>#request.admin_component#</cfoutput>, is not installed.
            </cfif>
        <cfelse>
            Default component call missing in settings.
        </cfif>
    </cfif>
<cfelse>
	<cfif fileexists('#request.basepath#/components/#c#/index.cfm')>
		<cfinclude template = "#request.absolutepath#components/#c#/index.cfm">
	<cfelse>
    	Component <cfoutput>#c#</cfoutput> is not installed.
    </cfif>
</cfif>